package com.jzy.secondhandbooktradingmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzy.secondhandbooktradingmanagement.entity.User;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public interface IUserService extends IService<User> {
    User register(User user);
    User login(User user);
    Page<User> findPage(Integer pageNum, Integer pageSize, String search);
    Page<User> findPage2(Integer pageNum, Integer pageSize, String search1, String search2, String search3, String search4);
    void updatePassword(Integer id, String password);
}
